package com.itheima.user.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/user")
public class UserController {
    @GetMapping("/login")
    public String login() {
        return "hello world,登录成功！";
    }
    @GetMapping("/register")
    public String logout() {
        return "注册成功！";
    }
}
